 

#ifndef __LH_MEM_H__
#define __LH_MEM_H__

#include "lh_include.h"

#define     LH_BUFF_FREE        0
#define     LH_BUFF_BUSY        1

#define     CheckBuffSta()      LH_BufFlag 
#define     SetBuffFree()       LH_BufFlag = LH_BUFF_FREE  
#define     SetBuffBusy()       LH_BufFlag = LH_BUFF_BUSY

extern  LH_U8   LH_DataBuff[LH_DATA_BUFF_SIZE];
extern  LH_U8   LH_BufFlag;

void LH_MemInit(void);

#endif



